package com.weilele.mvvmlib.sample.fg


import android.view.View
import com.weilele.mvvm.utils.vLaout.MvvmHolder
import com.weilele.mvvmlib.databinding.HolderMeiziBinding


class MeiziHolder : MvvmHolder<MeiziBean.DataDTO, HolderMeiziBinding> {
    constructor(binding: HolderMeiziBinding) : super(binding)
    constructor(itemView: View) : super(itemView)

    override fun bindData(data: MeiziBean.DataDTO) {
//        mBinding.ivPic.setImageUrl("http://gank.io/images/19c99c447e0a40a6b3ff89951957cfb1")
        mBinding.ivPic.setImageUrl(data.url)
    }
}